#include "control.h"
#include "mos.h"
#include "STC8G_H_EEPROM.h"

extern __xdata uint16_t temp;  //当前温度
__xdata uint16_t targe_temp;
__xdata PID_State pid_state;


void update_PID()
{
    PID_apply(&pid_t, &pid_state, targe_temp-temp);
}
